package com.air.test;

import org.junit.Test;
import org.junit.runner.RunWith;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.air.admin.mo.AdminPrivilege;
import com.air.admin.service.IAdminPrivilegeService;



@ContextConfiguration(locations={"classpath:spring/*-config.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class AdminPrivilegeTestCase {
	
	@Autowired
	IAdminPrivilegeService adminPrivilegeService;
	
	
	@Test
	public void insertTest(){
		
		AdminPrivilege privilege = adminPrivilegeService.findById(1);
		System.out.println(privilege.getCode());
	}
	
}
